{foreach name="$option" item="check" key="checkKey"}
<div class="{$class_row|default='form-check'}">
  <input class="form-check-input" name="{$name}" id="{$name}{$checkKey}" type="checkbox" value="{$checkKey}" {in name="checkKey" value="$value"}checked{/in} {if $readonly}readonly{/if} {if $disabled} disabled{/if}  {if $autofocus} autofocus{/if}>
  <label class="form-check-label" for="{$name}{$checkKey}">{$check}</label>
</div>
{/foreach}
<div class="{$class_tips|default='mb-1 form-text'}">{$tips}</div>